var arr=[1,2,3];
var newArr = arr.filter(
(value,index,array)=>{
    return value>1;
});
console.log("newArray:",newArr);
console.log("arr:",arr);